package dome2;

import dome1.TestDome1;









public class TestDome2 extends TestDome1 {

    public TestDome2(String name) {
        super(name);
    }

    public void show() {
        System.out.println(super.name);
    }

    public static void main(String[] args) {

        TestDome2 testDome2 = new TestDome2("张三");
        testDome2.show();

    }
}
